package com.erb.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分商品兑换记录
 */
public class IntegralGoodsRecord implements Serializable {
	private static final long serialVersionUID = -9132932123172343722L;
	private Integer id;
	private Integer uid; //用户id
	private Integer gid; //商品id
	private Integer count;//数量
	private Date exchangeTime;//兑换时间
	private Integer state;//状态 1待处理  2处理中  3已完成

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Date getExchangeTime() {
		return exchangeTime;
	}

	public void setExchangeTime(Date exchangeTime) {
		this.exchangeTime = exchangeTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "IntegralGoodsRecord{" +
				"id=" + id +
				", uid=" + uid +
				", gid=" + gid +
				", count=" + count +
				", exchangeTime=" + exchangeTime +
				", state=" + state +
				'}';
	}
}
